<!-- toaster directive -->
<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<!-- / toaster directive -->

<!-- 导航条 -->
<div class="bg-white bread-crumb">
    <ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
        <li><a ui-sref="main"><i class="glyphicon glyphicon-modal-window"></i>运维管理</a></li>
        <li><a ui-sref="main.dm.DmMaintain.list" class="active" ng-bind="title"> </a></li>
    </ul>
</div>
<div class="wrapper-md content" style="margin-top: 40px;">
    <div class="panel panel-default">
        <!-- 头部 -->
        <div class="panel-heading font-bold">
            <a class="btn btn-sm btn-icon btn-rounded btn-default pull-right m-t-n-xs"
               ui-sref="main.dm.DmMaintain.list">
               <i class="text-md glyphicon glyphicon-chevron-up text-muted"></i>
            </a>
        </div>
        <!--表单-->
        <div class="panel-body">
            <form class="form-horizontal" name="house_form" ng-submit="save()">
                <div class="clear-fix-thisPage">
                    <h6 style="margin-top: 0px;font-size: 19px;border-bottom: 1px solid #DFDFDF;;line-height: 1.8;">报障信息</h6>
	                <div class="form-group">
	                    <label for="buildingAddress" class="col-lg-2 control-label text-right"> <span class="text-danger wrapper-sm">*</span>楼栋地址：</label>
	                    <div class="col-lg-8">
	                        <input name="houseName" id="buildingAddress" type="text" class="form-control" ng-click="hoseAddress()" ng-model="record.buildingAddress" placeholder="填写设备所在的楼栋地址" required="required">
	                    </div>
	                </div>
	                <div class="form-group">
	                    <label for="groupName" class="col-lg-2 control-label text-right"> <span class="text-danger wrapper-sm">*</span>处理组：</label>
	                    <div class="col-lg-8">
	                        <input name="groupName" id="groupName" type="text" class="form-control" ng-model="record.groupName" ng-click="openGroup()" placeholder="选择处理组" required="required">
	                    </div>
	                </div>
					<div class="line line-dashed b-b line-lg pull-in"></div>
					<div class="form-group">
	                    <label for="remark" class="col-lg-2 control-label text-right"> <span class="text-danger wrapper-sm">*</span>问题描述：</label>
	                    <div class="col-lg-8">
	                    	<textarea class="form-control" placeholder="问题描述" ng-model="record.description" required="required"></textarea>
	                    </div>
	                    
	                </div>
	                <div class="line line-dashed b-b line-lg pull-in"></div>
	                <div class="form-group" style="width: 100%;">
	                    
	                    <div class="col-sm-6 col-sm-offset-2 text-center "style="width: 100%;margin: 0;text-align: center;margin-top: 20px;">
							<button type="button" class="btn  w-xs addNew" ng-click="resetFrom()">重置</button>
	                        <button type="submit" class="btn btn-info w-xs m-l-xl addNew" ng-disabled="isDisabled">保存</button>
	                    </div>
	                </div>
				</div>
            </form>
        </div>
    </div>
</div>

<style type="text/css" scoped="scoped">
	input,label{
		vertical-align: middle;
		padding-bottom: 0!important;
		padding-top: 0!important;
	}
	.line-dashed{
		margin-top: 0!important;
	}
	.form-group{
		width: 50%;
		float: left;
	}
	.cityinput{
        width: 120px!important;
        border:1px solid #bdc3c7;
        border-radius: 4px;
        color: #acb8c5;
    }
    .cityinput option[attr='selected']{
        color: #000;
    }
</style>